package com.doudi.product;

import java.sql.Connection;
import java.sql.Statement;

public class Push2DB {
	public static void pushProduct2DB(Connection conn, Statement stmt, String sql) {
		try {
			
			stmt.executeUpdate(sql);
			System.out.println("Inserting records into the table...");
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
